package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

@Data
@ApiModel("员工")
public class Emp {

    @ApiModelProperty(value = "员工ID")
    private Integer employee_id;

    @ApiModelProperty(value = "员工姓名")
    private String e_name;

    @ApiModelProperty("联系方式")
    private String contact_info;

    @ApiModelProperty(value = "部门ID 1：xxx1 2：xxx2 3：xxx3")
    private Integer department_id;

    @ApiModelProperty(value = "职位")
    private String position;


    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "员工类型 1 普通员工 2 内销 3 外销")
    private Integer type;

    @ApiModelProperty(value = "是否审核 1 需要审核 2 无需审核")
    private Integer isaudit;

    @ApiModelProperty(value = "年度业绩目标")
    private Double annual_target;

    @ApiModelProperty("已完成业绩")
    private Double completed_performance;

    @ApiModelProperty("完成率")
    private Double completion_rate;

    @ApiModelProperty(value = "角色ID 1 管理员 2 超级管理员")
    private Integer role_id;


    @ApiModelProperty(value = "账号状态 1 开启 2 关闭")
    private Integer account_status;


    @ApiModelProperty(value = "员工生日")
    private String birthday;

    @ApiModelProperty(value = "入职日期")
    private LocalDate hire_date;

    @ApiModelProperty(value = "是否删除 1未删除2已删除")
    private int isdel;

    @ApiModelProperty(value = "底薪")
    private int base_salary;

}
